package spring.boot.demo.service;

import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import spring.boot.demo.domain.User;

public interface UserService {

	@Transactional(isolation=Isolation.DEFAULT,propagation=Propagation.REQUIRED)
	User login(String name,String password);
}
